package com.example.online_exam_system.service;

import com.example.online_exam_system.dto.QuestionsDto;

import java.util.List;
import java.util.Map;

/**
 * (TestQuestions)表服务接口
 *
 * @author lianglong@asiainfo.com
 * @since 2021-11-27 09:55:06
 */
public interface TestQuestionsService {


    /**
     * @description 通过教师id查找试题 
     * @param
     * @return  
     * @author lianglong
     */
    List<QuestionsDto> getQuestionsByTeacherId();

    int insertQuestion(QuestionsDto questionsDto);

    int updateQuestion(Map<String, Object> inParam);

    int deleteQuestion(Map<String, Object> inParam);

    List<QuestionsDto> getQuestionsBySubjectId(Map<String,Object> inParam);

    Map<String,Object> getQuestionsByQuestionId(String questionId);


}
